﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CPGM
{
    public class SocketPacketEventArgs : EventArgs
    {
        public CPGMPacket Packet { get; set; }

        public int DataLength { get; set; }

        public SocketPacketEventArgs(CPGMPacket pack, int rx)
        {
            Packet = pack;
            DataLength = rx;
        }
    }
}
